package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.ServiceItem;
import cn.wolfcode.car.business.query.ServiceItemQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceItemMapper {
    int delete(Long id);

    int insert(ServiceItem record);

    ServiceItem get(Long id);

    List<ServiceItem> selectAll();

    int update(ServiceItem record);

    List<ServiceItem> selectForList(ServiceItemQueryObject qo);

    void changeBySaleStatu(@Param("id") Long id, @Param("status") Integer salestatusOn);

    void updateByAudit(@Param("id") Long id, @Param("auditstatu") Integer auditstatusAuditing);
}